const nodeTypeList = [{
  type: 'test',
  typeName: '测试',
  nodeName: '测试',
  state: true
},{
  type: 'fault',
  typeName: '故障',
  nodeName: '故障',
  state: true
},{
  type: 'subsystem',
  typeName: '子系统',
  nodeName: '子系统',
  state: true,
}]

const nodeTypeListSub = [{
  type: 'input',
  typeName: '输入',
  nodeName: '输入',
  state: true,
  linkNode: {
    type: null,
    id: null,
    port: null
  }
},{
  type: 'output',
  typeName: '输出',
  nodeName: '输出',
  state: true,
  linkNode: {
    type: null,
    id: null,
    port: null
  }
}]

const nodeCss = {
  test: {
    logImg: require('@/assets/svg/1开始.svg'),
    log_bg_color: 'rgba(255, 0, 0, 0.2)'
  },
  fault: {
    logImg: require('@/assets/svg/2结束.svg'),
    log_bg_color: 'rgba(255, 0, 0, 0.2)'
  },
  subsystem: {
    logImg: require('@/assets/svg/17工作包.svg'),
    log_bg_color: 'rgba(0, 0, 255, 0.2)'
  },
  input: {
    logImg: require('@/assets/svg/1开始.svg'),
    log_bg_color: 'rgba(0, 0, 255, 0.2)'
  },
  output: {
    logImg: require('@/assets/svg/2结束.svg'),
    log_bg_color: 'rgba(0, 0, 255, 0.2)'
  }
}

export { nodeTypeList }
export { nodeTypeListSub }
export { nodeCss }